home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
util
/
libs
/
cwrlib31.lha
/
CWTerm
/
CWTermwin.c
< prev
Wrap
C/C++ Source or Header
|
1992-07-22
|
4KB
|
99 lines
#include <intuition/intuition.h>
struct IntuiText IText1 = { 4,1,JAM1,0,1,NULL," Drop DTR",NULL};
struct IntuiText IText2 = { 4,1,JAM1,19,1,NULL,"CTS/RTS",NULL};
struct IntuiText IText3 = { 4,1,JAM1,19,1,NULL,"Half duplex",NULL};
struct IntuiText IText4 = { 4,1,JAM1,19,1,NULL," 38400",NULL};
struct IntuiText IText5 = { 4,1,JAM1,19,1,NULL," 19200",NULL};
struct IntuiText IText6 = { 4,1,JAM1,19,1,NULL," 9600",NULL};
struct IntuiText IText7 = { 4,1,JAM1,19,1,NULL," 4800",NULL};
struct IntuiText IText8 = { 4,1,JAM1,19,1,NULL," 2400",NULL};
struct IntuiText IText9 = { 4,1,JAM1,19,1,NULL," 1200",NULL};
struct IntuiText IText10 = { 4,1,JAM1,19,1,NULL," 300",NULL};
struct IntuiText IText11 = { 4,1,JAM1,0,1,NULL," Baudrate",NULL};
struct IntuiText IText12 = { 4,1,JAM1,0,1,NULL," Quit",NULL};
struct IntuiText IText13 = { 4,1,JAM1,0,0,NULL,"------------",NULL};
struct IntuiText IText14 = { 4,1,JAM1,19,1,NULL,"4",NULL};
struct IntuiText IText15 = { 4,1,JAM1,19,1,NULL,"3",NULL};
struct IntuiText IText16 = { 4,1,JAM1,19,1,NULL,"2",NULL};
struct IntuiText IText17 = { 4,1,JAM1,19,1,NULL,"1",NULL};
struct IntuiText IText18 = { 4,1,JAM1,0,1,NULL," Bitplanes",NULL};
struct MenuItem SerialItem4 = {
NULL,0,30,112,10,ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,0,
(APTR)&IText1,NULL,'H',NULL,MENUNULL};
struct MenuItem SerialItem3 = {
&SerialItem4,0,20,112,10,CHECKIT+ITEMTEXT+MENUTOGGLE+ITEMENABLED+HIGHCOMP+CHECKED,
0,(APTR)&IText2,NULL,NULL,NULL,MENUNULL};
struct MenuItem SerialItem2 = {
&SerialItem3,0,10,112,10,CHECKIT+ITEMTEXT+MENUTOGGLE+ITEMENABLED+HIGHCOMP,
0,(APTR)&IText3,NULL,NULL,NULL,MENUNULL};
struct MenuItem BaudSubItem7 = {
NULL,97,52,67,10,CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,63,
(APTR)&IText4,NULL,NULL,NULL,MENUNULL};
struct MenuItem BaudSubItem6 = {
&BaudSubItem7,97,42,67,10,CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP+CHECKED,95,
(APTR)&IText5,NULL,NULL,NULL,MENUNULL};
struct MenuItem BaudSubItem5 = {
&BaudSubItem6,97,32,67,10,CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,111,
(APTR)&IText6,NULL,NULL,NULL,MENUNULL};
struct MenuItem BaudSubItem4 = {
&BaudSubItem5,97,22,67,10,CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,119,
(APTR)&IText7,NULL,NULL,NULL,MENUNULL};
struct MenuItem BaudSubItem3 = {
&BaudSubItem4,97,12,67,10,CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,123,
(APTR)&IText8,NULL,NULL,NULL,MENUNULL};
struct MenuItem BaudSubItem2 = {
&BaudSubItem3,97,2,67,10,CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,125,
(APTR)&IText9,NULL,NULL,NULL,MENUNULL};
struct MenuItem BaudSubItem1 = {
&BaudSubItem2,97,-8,67,10,CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP,126,
(APTR)&IText10,NULL,NULL,NULL,MENUNULL};
struct MenuItem SerialItem1 = {
&SerialItem2,0,0,112,10,ITEMTEXT+ITEMENABLED+HIGHCOMP,0,
(APTR)&IText11,NULL,NULL,&BaudSubItem1,MENUNULL};
struct MenuItem ProjectItem3 = {
NULL,0,18,96,10,ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,0,
(APTR)&IText12,NULL,'Q',NULL,MENUNULL};
struct MenuItem ProjectItem2 = {
&ProjectItem3,0,10,96,8,ITEMTEXT+ITEMENABLED+HIGHCOMP+HIGHBOX,0,
(APTR)&IText13,NULL,NULL,NULL,MENUNULL};
struct MenuItem BitSubItem4 = {
NULL,81,22,67,10,CHECKIT+ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,7,
(APTR)&IText14,NULL,'4',NULL,MENUNULL};
struct MenuItem BitSubItem3 = {
&BitSubItem4,81,12,67,10,CHECKIT+ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP+CHECKED,
11,(APTR)&IText15,NULL,'3',NULL,MENUNULL};
struct MenuItem BitSubItem2 = {
&BitSubItem3,81,2,67,10,CHECKIT+ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,13,
(APTR)&IText16,NULL,'2',NULL,MENUNULL};
struct MenuItem BitSubItem1 = {
&BitSubItem2,81,-8,67,10,CHECKIT+ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,14,
(APTR)&IText17,NULL,'1',NULL,MENUNULL};
struct MenuItem ProjectItem1 = {
&ProjectItem2,0,0,96,10,ITEMTEXT+ITEMENABLED+HIGHCOMP,0,
(APTR)&IText18,NULL,NULL,&BitSubItem1,MENUNULL};
struct Menu Menu2 = {
NULL,70,0,55,0,MENUENABLED,"Serial",&SerialItem1};
struct Menu Menu1 = {
&Menu2,0,0,63,0,MENUENABLED,"Project",&ProjectItem1};